package com.cyzy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cyzy.dao.FileCourseDao;
import com.cyzy.mapper.CourseMapper;
import com.cyzy.pojo.Course;
import com.cyzy.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> implements CourseService {

    @Autowired
    private CourseMapper courseMapper;


    @Override
    public FileCourseDao getCourse(FileCourseDao fileCourseDao) {
        return courseMapper.getCourseByCourseId(fileCourseDao);
    }
}
